﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EasyPayDemo.WeiPay
{
    public class M_CloseOrder
    {

        public string orgId { get; set; }
        public string orgMercode { get; set; }
        public string orgTermno { get; set; }
        public string orgTrace { get; set; }
        public string sign { get; set; }
        public string signType { get; set; }
        public string prodTrace { get; set; }
        public Appenddata appendData { get; set; }
        public Data data { get; set; }
        public string orgInfo { get; set; }

        public class Appenddata
        {
            public string orgBasestation { get; set; }
            public string orgDeviceIp { get; set; }
            public string orgGpstype { get; set; }
            public string orgLatitude { get; set; }
            public string orgLongitude { get; set; }
            public string dgtlEnvlp { get; set; }
            public Identity identity { get; set; }
            public string wxLimitPay { get; set; }
            public bool invoiceSt { get; set; }
            public Wxdetail wxDetail { get; set; }
            public string wxGoodsTag { get; set; }
            public Wxsceneinfo wxSceneInfo { get; set; }
            public string aliDisablePayChannels { get; set; }
            public string aliEnablePayChannels { get; set; }
            public Aliextendparams aliExtendParams { get; set; }
            public Aligoodsdetail[] aliGoodsDetail { get; set; }
            public string aliBusinessParams { get; set; }
            public int aliDiscountableAmount { get; set; }
            public string aliOperatorId { get; set; }
            public string aliSellerId { get; set; }
            public string aliStoreId { get; set; }
            public string aliTerminalParams { get; set; }
            public int aliUndiscountableAmount { get; set; }
            public string alipayStoreId { get; set; }
            public Qracqaddndata qrAcqAddnData { get; set; }
            public string qrSpecFeeInfo { get; set; }
        }

        public class Identity
        {
            public string encryptInfo { get; set; }
            public string fixBuyer { get; set; }
            public string minage { get; set; }
            public string needCheckInfo { get; set; }
            public string type { get; set; }
        }

        public class Wxdetail
        {
            public int cost_price { get; set; }
            public Goods_Detail[] goods_detail { get; set; }
            public string receipt_id { get; set; }
        }

        public class Goods_Detail
        {
            public string goods_id { get; set; }
            public string goods_name { get; set; }
            public int price { get; set; }
            public int quantity { get; set; }
            public string wxpay_goods_id { get; set; }
        }

        public class Wxsceneinfo
        {
            public string address { get; set; }
            public string area_code { get; set; }
            public string id { get; set; }
            public string name { get; set; }
        }

        public class Aliextendparams
        {
            public string card_type { get; set; }
            public string hb_fq_num { get; set; }
            public string hb_fq_seller_percent { get; set; }
            public string industry_refluxString_info { get; set; }
            public string sys_service_provider_id { get; set; }
        }

        public class Qracqaddndata
        {
            public string customData { get; set; }
            public Goodsinfo[] goodsInfos { get; set; }
            public Orderinfo orderInfo { get; set; }
        }

        public class Orderinfo
        {
            public string addnInfo { get; set; }
            public string dctAmount { get; set; }
            public string description { get; set; }
            public string title { get; set; }
        }

        public class Goodsinfo
        {
            public string addnInfo { get; set; }
            public string category { get; set; }
            public string id { get; set; }
            public string name { get; set; }
            public string price { get; set; }
            public string quantity { get; set; }
        }

        public class Aligoodsdetail
        {
            public string alipay_goods_id { get; set; }
            public string body { get; set; }
            public string categories_tree { get; set; }
            public string goods_category { get; set; }
            public string goods_id { get; set; }
            public string goods_name { get; set; }
            public int price { get; set; }
            public int quantity { get; set; }
            public string show_url { get; set; }
        }

        public class Data
        {
            public string oriOrgTrace { get; set; }
        }

    }
}
